package com.woniu.model.mallSystem.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommodityVo {
    private Long id;

    private String name;

    @ApiModelProperty("商品类别id")
    private Integer tCategoryId;

    @ApiModelProperty("商品图片地址")
    private Long imgId;

    @ApiModelProperty("商品标题")
    private String title;

    @ApiModelProperty("商品编码")
    private String code;

    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty("库存")
    private Integer stock;

    @ApiModelProperty("商品状态(未上架0、已上架1、已下架2、待审核3、未通过4）")
    private Integer status;

    @ApiModelProperty("商品详情")
    private String details;

    @ApiModelProperty("品类名")
    private String categoryName;

    @ApiModelProperty("地址")
    private String srcImg;

    @ApiModelProperty("删除标志")
    private Integer deleteFlag;
}
